package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("department")
public class Department {
    @TableId(type = IdType.AUTO)//默认使用数据库中表的设置
    private  Integer id;
    private String name;
    private String description;
    private Integer status;
    private String createdAt;
    private String updateAt;
}
